import { BrowserWindow } from "electron"

const setTitle = (event, title) => {
    const webContents = event.sender
    const win = BrowserWindow.fromWebContents(webContents)
    win.setTitle(title)
}

export default setTitle;